public abstract class ChessPiece {
	boolean team;
	int value;
	BoardLocation curLoc;

	public ChessPiece(boolean team, int value, BoardLocation curLoc) {
		this.team = team;
		this.value = value;
		this.curLoc = curLoc;
	}

	abstract boolean isValidMove(BoardLocation dest);

	void move(BoardLocation dest) {
		if(isValidMove(dest)) {
			this.curLoc = dest;
		}
	}
}
